package com.xinjian.jianba.dto;

import java.io.Serializable;
import java.math.BigDecimal;

import com.xinjian.jianba.annotation.Validator;
import com.xinjian.jianba.utils.RegexType;

public class RegisterUserDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -549239062375659145L;
	private String uuid;

	// 手机号
	@Validator(regexType = RegexType.MOBILE, description = "手机号")
	private String mobile;

	// 密码
	@Validator(nullable = false, description = "密码")
	private String password;
	// 用户注册来源
	private Integer source;

	// 注册时经度
	private BigDecimal lngfloat;
	// 注册时纬度
	private BigDecimal latfloat;
	
	@Validator(nullable=false,description="验证码不能为空")
	private String checkCode;
	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public Integer getSource() {
		return source;
	}

	public void setSource(Integer source) {
		this.source = source;
	}

	public BigDecimal getLngfloat() {
		return lngfloat;
	}

	public void setLngfloat(BigDecimal lngfloat) {
		this.lngfloat = lngfloat;
	}

	public BigDecimal getLatfloat() {
		return latfloat;
	}

	public void setLatfloat(BigDecimal latfloat) {
		this.latfloat = latfloat;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}
	

}
